<template>
  <div class="right-out">
    <div class="nav">
      待收款
      <el-icon><WarningFilled /></el-icon>
    </div>
    <div class="content">
      <el-form label-width="80px" inline>
        <el-form-item>
          <el-input
            class="serch-inp"
            :prefix-icon="Search"
            size="large"
          ></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="info" plain size="large">搜索</el-button>
        </el-form-item>
        <el-form-item>
          <div class="allCollection">
            <span>累计收款：</span>
            <span>￥ 0.00</span>
          </div>
        </el-form-item>
      </el-form>
      <el-table
        height="250"
        class="table"
        style="width: 100%"
        :header-cell-style="{
          background: '#f5f7f9',
          color: '#393939',
          fontWeight: '400',
        }"
      >
        <el-table-column
          prop="date"
          label="项目"
          width="600px"
          align="center"
        />
        <el-table-column
          prop="address"
          label="金额"
          width="180px"
          align="center"
        />
        <el-table-column
          prop="address"
          label="操作"
          width="180px"
          align="center"
        />
      </el-table>
    </div>
  </div>
</template>

<script lang="ts">
export default {
  name: "Resource",
};
</script>

<script setup lang="ts">
import { ref } from "vue";
import { WarningFilled, Search } from "@element-plus/icons-vue";
const isActive = ref(0);
const changeIsActive = (index: number) => {
  isActive.value = index;
};
</script>

<style scoped lang="scss">
.right-out {
  .nav {
    width: 1020px;
    background-color: white;
    border-radius: 3px;
    padding: 28px 30px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 10px;
  }
  .content {
    width: 1020px;
    min-height: 700px;
    background-color: white;
    border-radius: 3px;
    padding: 30px;
    box-sizing: border-box;
    .el-form {
      .serch-inp {
        width: 300px;
      }
      .el-button {
        border: none;
        margin-left: -20px;
        margin-right: 297px;
      }
      .allCollection {
        padding-left: 400px;
      }
    }
  }
}
</style>
